package com.gr3g.dev.game;

import android.content.pm.ActivityInfo;

import com.jme3.app.AndroidHarness;
import com.jme3.system.android.AndroidConfigChooser.ConfigType;

/** @author Gregory Tardivel */
public final class GameActivity extends AndroidHarness {

    public GameActivity() {
        // Set the application class to run
        this.appClass = "com.gr3g.dev.game.jme.MyGame";

        // Try ConfigType.FASTEST; or ConfigType.LEGACY if you have problems
        this.eglConfigType = ConfigType.BEST;

        // Exit Dialog title & message
        this.exitDialogTitle = "Quit game?";
        this.exitDialogMessage = "Do you really want to quit the game?";

        // Choose screen orientation
        this.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;

        // Invert the MouseEvents X (default = true)
        this.mouseEventsInvertX = true;

        // Invert the MouseEvents Y (default = true)
        this.mouseEventsInvertY = true;
    }
}
